<div id="container" class="coupon-container coupon-list">
	<div ng-repeat="item in pagedata.list" style="margin:0.3rem">
		<a class="coupon-item blue">
			<div class="coupon-dots">
				<i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i>
			</div>
			<div class="coupon-type" >{{item.typetitle || '参与'}}</div>
			<div class="coupon-left" href="javascript:;" ng-click="access_json('/item//id='+item.pid)">
				<div class="title blod" style="font-size:0.85rem">接龙凭证</div>
				<div class="subtitle" style="font-size:0.56rem">接龙序号：{{item.id}}</div>
			</div>
			<div class="coupon-right">
				<div class="title" style="font-size:0.66rem">{{item.info.title || '帖子名称'}}</div>
				<div ng-if="item.status>=1 || item.orderid==0" class="subtitle" style="font-size:0.56rem;color:#999">{{item.typetitle || '参与'}} +1 <span ng-if="pagedata.ismyitem==1" style="font-size:0.56rem">接龙人：{{item.user.nickname || '无'}}</span></div>
				<div ng-if="item.status<=1 && item.orderid!=0" class="subtitle" style="font-size:0.56rem;color:#999">{{item.status==1?'已支付':'待支付'}} <span class="red">￥{{item.fee || '0.00'}}</span><span style="margin-left:0.3rem">时间:{{item.createtime}}</span></div>
				<div ng-if="item.status==2" class="subtitle" style="font-size:0.56rem;color:#999">已完成</div>
				<div class="usetime">
					<div class="text" ng-if="item.orderid==0">
						<div>时间:
							{{item.createtime}}
						</div>
					</div>
					<div ng-if="(item.status ==0 || item.status ==2) && item.orderid!=0" class="usebtn">
						<div ng-if="item.status==0" ng-click="pagedata.buypay(item.id)">
							支付
						</div>
						<div ng-if="item.status==2" ng-click="post({},'/feelog/receive/','id='+item.id+'&isfee='+item.orderid)">
							确认完成
						</div>
					</div>
					<div class="usebtn" style="margin-left:0.1rem">
						<div ng-if="item.orderid!=0" ng-click="access_json('/feelog/detail/isfee=true&id='+item.orderid)">
							查看详情
						</div>
						<div ng-if="item.orderid==0" ng-click="access_json('/feelog/detail/id='+item.id)">
							查看详情
						</div>
					</div>
					<div ng-if="item.status==1" class="usebtn" style="margin-left:0.1rem">
						<div ng-click="pagedata.show_verify(item.verifyurl,item.verifycode)">
							<i class="icon icon-qrcode" style="vertical-align: middle;"></i>
							核销
						</div>
					</div>
					<div ng-if="item.fee>0 && item.status==1 && pagedata.ismyitem==2" class="usebtn" style="margin-left:0.1rem">
						<div ng-click="pagedata.showtuikuan=true;pagedata.item=item">
							申请退款
						</div>
					</div>
					<div ng-if="item.fee>0 && item.status==4  && pagedata.ismyitem==2" class="usebtn" style="margin-left:0.1rem">
						<div ng-click="post({},'/feelog/deltuikuan/id='+item.id)">
							取消退款
						</div>
					</div>
					<div ng-if="item.fee>0 && item.status==4  && pagedata.ismyitem==1" class="usebtn" style="margin-left:0.1rem">
						<div ng-click="post({},'/feelog/chetuikuan/id='+item.id)">
							同意退款
						</div>
					</div>
				</div>
			</div>
		</a>
	</div>
</div>